首页> 外文OA文献 >Specialization of Functional Logic Programs Based on Needed Narrowing
【2h】

Specialization of Functional Logic Programs Based on Needed Narrowing

机译:基于需要缩小的功能逻辑程序的专业化

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Many functional logic languages are based on narrowing, a unification-basedgoal-solving mechanism which subsumes the reduction mechanism of functionallanguages and the resolution principle of logic languages. Needed narrowing isan optimal evaluation strategy which constitutes the basis of modern(narrowing-based) lazy functional logic languages. In this work, we present thefundamentals of partial evaluation in such languages. We provide correctnessresults for partial evaluation based on needed narrowing and show that the niceproperties of this strategy are essential for the specialization process. Inparticular, the structure of the original program is preserved by partialevaluation and, thus, the same evaluation strategy can be applied for theexecution of specialized programs. This is in contrast to other partialevaluation schemes for lazy functional logic programs which may change theprogram structure in a negative way. Recent proposals for the partialevaluation of declarative multi-paradigm programs use (some form of) needednarrowing to perform computations at partial evaluation time. Therefore, ourresults constitute the basis for the correctness of such partial evaluators.
机译:许多功能逻辑语言都基于狭窄,这是一种基于统一的目标解决机制,其中包含了功能语言的归约机制和逻辑语言的解析原理。所需的缩小是一种最优的评估策略,它构成了现代(基于缩小)的惰性功能逻辑语言的基础。在这项工作中,我们以这种语言展示了部分评估的基础。我们根据所需的缩小范围提供了部分评估的正确性结果,并表明该策略的优良属性对于专业化过程至关重要。特别是,原始程序的结构通过部分评估得以保留,因此,相同的评估策略可用于执行专业程序。这与惰性函数逻辑程序的其他部分评估方案相反,后者可能会以负面方式更改程序结构。对于声明式多范式程序的部分评估的最新提议使用了(某种形式)需要缩小的范围以在部分评估时执行计算。因此,我们的结果构成了这种部分评估者正确性的基础。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号